<%@page import="com.sarnath.sardoop.common.utils.JsonMapper"%>
<%@page import="org.slf4j.LoggerFactory"%>
<%@page import="com.sarnath.sardoop.common.web.Servlets"%>
<%@page import="com.sarnath.sardoop.common.utils.Exceptions"%>
<%@page import="com.sarnath.sardoop.common.bean.Response"%>
<%@page contentType="application/json;charset=UTF-8" session="false" isErrorPage="true"%>
<%
	Response res=new Response();
	res.setStatus(1);
	res.setMsg("500 - 系统异常");
	out.println(JsonMapper.toJsonString(res));
	Throwable ex = Exceptions.getThrowable(request);
	if (ex != null){
		LoggerFactory.getLogger("com.sarnath.error500").error(ex.getMessage(), ex);
	}
%>
